package com.xuliugen.javamybatis.demo;

import com.xuliugen.javamybatis.demo.dto.UserDTO;
import com.xuliugen.javamybatis.demo.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by xuliugen on 2017/9/20.
 */
public class TestApplication {

    protected static Logger logger = LoggerFactory.getLogger(TestApplication.class);

    public static void main(String[] args) {
        UserService userService = new UserService();
        UserDTO userDTO = userService.selectUserById(1);
        logger.info("the data:{}",userDTO.toString());
    }
}
